<?php foreach ($pager->getResults() as $post): ?>
  <?php include_partial('post/post', array('post' => $post)); ?>
<?php endforeach; ?>

<?php include_partial('global/pager', array('pager' => $pager)); ?>
